package com.zhf.service.impl;

import com.zhf.dao.UserDao;
import com.zhf.dao.impl.UserDaoImpl;
import com.zhf.entity.User;
import com.zhf.service.UserService;

public class UserServiceImpl implements UserService {
    UserDao userDao = new UserDaoImpl();
    @Override
    public User queryUserByUserNameAndPassword(String userName, String password) {
        User user = userDao.queryUserByUserNameAndPassword(userName, password);
        return user;
    }
}
